import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import './assets/index.scss'
import routes from './router/index.ts'
import {store} from './store/index.ts'
import { Provider } from 'react-redux'
const  root=ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
)

root.render(
  <Provider store={store}>
      <App routes={routes} mode='history'/>
  </Provider>
  
)